package me.flyray.bsin.server.impl;


import lombok.extern.slf4j.Slf4j;
import me.flyray.bsin.facade.service.AppAgentOpenApiService;
import org.apache.shenyu.client.apache.dubbo.annotation.ShenyuDubboService;
import org.apache.shenyu.client.apidocs.annotations.ApiDoc;
import org.apache.shenyu.client.apidocs.annotations.ApiModule;
import org.apache.shenyu.client.dubbo.common.annotation.ShenyuDubboClient;

import java.util.Map;

@Slf4j
@ShenyuDubboService(path = "/openApi", timeout = 6000)
@ApiModule(value = "openApi")
public class AppAgentOpenApiServiceImpl implements AppAgentOpenApiService {

    @ApiDoc(desc = "signTest")
    @ShenyuDubboClient("/signTest")
    @Override
    public String signTest(Map<String, Object> requestMap) {
        System.out.println("success");
        return "success";
    }

}
